package com.fly.system.mapper;

import com.fly.common.mapper.BaseMapper;
import com.fly.system.model.SysRoleModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysRoleMapper extends BaseMapper<SysRoleModel>{

    List<String> selectRoleNameByUserId(@Param("userId") Long userId);
    List<String> selectRolePmsByUserId(@Param("userId") Long userId);
}
